Optimal. Leaf size=118 \[ -\frac {a \sqrt {c+a^2 c x^2}}{6 c x^2}-\frac {\sqrt {c+a^2 c x^2} \text {ArcTan}(a x)}{3 c x^3}+\frac {2 a^2 \sqrt {c+a^2 c x^2} \text {ArcTan}(a x)}{3 c x}+\frac {5 a^3 \tanh ^{-1}\left (\frac {\sqrt {c+a^2 c x^2}}{\sqrt {c}}\right )}{6 \sqrt {c}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 6, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {5082, 272, 44,
65, 214, 5064} \begin {gather*} \frac {2 a^2 \text {ArcTan}(a x) \sqrt {a^2 c x^2+c}}{3 c x}-\frac {\text {ArcTan}(a x) \sqrt {a^2 c x^2+c}}{3 c x^3}-\frac {a \sqrt {a^2 c x^2+c}}{6 c x^2}+\frac {5 a^3 \tanh ^{-1}\left (\frac {\sqrt {a^2 c x^2+c}}{\sqrt {c}}\right )}{6 \sqrt {c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 214
Rule 272
Rule 5064
Rule 5082
Rubi steps
\begin {align*} \int \frac {\tan ^{-1}(a x)}{x^4 \sqrt {c+a^2 c x^2}} \, dx &=-\frac {\sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x^3}+\frac {1}{3} a \int \frac {1}{x^3 \sqrt {c+a^2 c x^2}} \, dx-\frac {1}{3} \left (2 a^2\right ) \int \frac {\tan ^{-1}(a x)}{x^2 \sqrt {c+a^2 c x^2}} \, dx\\ &=-\frac {\sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x^3}+\frac {2 a^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x}+\frac {1}{6} a \text {Subst}\left (\int \frac {1}{x^2 \sqrt {c+a^2 c x}} \, dx,x,x^2\right )-\frac {1}{3} \left (2 a^3\right ) \int \frac {1}{x \sqrt {c+a^2 c x^2}} \, dx\\ &=-\frac {a \sqrt {c+a^2 c x^2}}{6 c x^2}-\frac {\sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x^3}+\frac {2 a^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x}-\frac {1}{12} a^3 \text {Subst}\left (\int \frac {1}{x \sqrt {c+a^2 c x}} \, dx,x,x^2\right )-\frac {1}{3} a^3 \text {Subst}\left (\int \frac {1}{x \sqrt {c+a^2 c x}} \, dx,x,x^2\right )\\ &=-\frac {a \sqrt {c+a^2 c x^2}}{6 c x^2}-\frac {\sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x^3}+\frac {2 a^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x}-\frac {a \text {Subst}\left (\int \frac {1}{-\frac {1}{a^2}+\frac {x^2}{a^2 c}} \, dx,x,\sqrt {c+a^2 c x^2}\right )}{6 c}-\frac {(2 a) \text {Subst}\left (\int \frac {1}{-\frac {1}{a^2}+\frac {x^2}{a^2 c}} \, dx,x,\sqrt {c+a^2 c x^2}\right )}{3 c}\\ &=-\frac {a \sqrt {c+a^2 c x^2}}{6 c x^2}-\frac {\sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x^3}+\frac {2 a^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)}{3 c x}+\frac {5 a^3 \tanh ^{-1}\left (\frac {\sqrt {c+a^2 c x^2}}{\sqrt {c}}\right )}{6 \sqrt {c}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 110, normalized size = 0.93 \begin {gather*} \frac {-a x \sqrt {c+a^2 c x^2}+2 \left (-1+2 a^2 x^2\right ) \sqrt {c+a^2 c x^2} \text {ArcTan}(a x)-5 a^3 \sqrt {c} x^3 \log (x)+5 a^3 \sqrt {c} x^3 \log \left (c+\sqrt {c} \sqrt {c+a^2 c x^2}\right )}{6 c x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.87, size = 163, normalized size = 1.38
method | result | size |
default | \(\frac {\left (4 \arctan \left (a x \right ) a^{2} x^{2}-a x -2 \arctan \left (a x \right )\right ) \sqrt {c \left (a x -i\right ) \left (a x +i\right )}}{6 c \,x^{3}}+\frac {5 a^{3} \ln \left (1+\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right ) \sqrt {c \left (a x -i\right ) \left (a x +i\right )}}{6 \sqrt {a^{2} x^{2}+1}\, c}-\frac {5 a^{3} \ln \left (\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}-1\right ) \sqrt {c \left (a x -i\right ) \left (a x +i\right )}}{6 \sqrt {a^{2} x^{2}+1}\, c}\) | \(163\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.36, size = 81, normalized size = 0.69 \begin {gather*} \frac {{\left (5 \, a^{2} \operatorname {arsinh}\left (\frac {1}{a {\left | x \right |}}\right ) - \frac {\sqrt {a^{2} x^{2} + 1}}{x^{2}}\right )} a + 2 \, {\left (\frac {2 \, \sqrt {a^{2} x^{2} + 1} a^{2}}{x} - \frac {\sqrt {a^{2} x^{2} + 1}}{x^{3}}\right )} \arctan \left (a x\right )}{6 \, \sqrt {c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 7.05, size = 89, normalized size = 0.75 \begin {gather*} \frac {5 \, a^{3} \sqrt {c} x^{3} \log \left (-\frac {a^{2} c x^{2} + 2 \, \sqrt {a^{2} c x^{2} + c} \sqrt {c} + 2 \, c}{x^{2}}\right ) - 2 \, \sqrt {a^{2} c x^{2} + c} {\left (a x - 2 \, {\left (2 \, a^{2} x^{2} - 1\right )} \arctan \left (a x\right )\right )}}{12 \, c x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {atan}{\left (a x \right )}}{x^{4} \sqrt {c \left (a^{2} x^{2} + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\mathrm {atan}\left (a\,x\right )}{x^4\,\sqrt {c\,a^2\,x^2+c}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________